package com.xiyu.service.service.mailbox;

import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountGetTopAccountOutput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountSingleGetOutput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountPageQueryOutput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountPageQueryInput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountCreateInput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountUpdateInput;
import com.xiyu.service.framework.web.web.core.pojo.PageResult;

import java.util.List;

/**
 * 邮箱账号 Service 接口
 */
public interface MailboxAccountService {

    Boolean deleted(Long id);

    Boolean update(MailboxAccountUpdateInput inputVO);

    Long create(MailboxAccountCreateInput inputVO);

    PageResult<MailboxAccountPageQueryOutput> pageQuery(MailboxAccountPageQueryInput inputVO);

    MailboxAccountSingleGetOutput singleGet(Long id);

    List<MailboxAccountGetTopAccountOutput> getTopAccount(Long userId);

}
